ahrefs\AhrefsSeo_Vendor\phpseclib\Crypt\Base D

Total Complexity 313
Dependencies 3
Dependents 3
Total lines 2,660
Lines of code 1,556
Logical lines of code 900
Comment lines 1,020
Methods 39
Properties 31

Methods 39

Method Rating Maintainability Complexity Lines of code
encrypt()
D
14
73 318
decrypt()
D
14
73 315
_createInlineCryptFunction()
D
20
11 420
__construct()
B
42 23 47
_openssl_ctr_process()
B
38 19 70
setPassword()
B
37 19 69
isValidEngine()
A
46 15 38
_openssl_ofb_process()
A
49 7 32
_setEngine()
S
52 7 26
_openssl_translate_mode()
S
60 7 16
_increment_str()
S
49 6 30
_hashInlineCryptFunction()
S
52 6 23
_setupMcrypt()
S
57 4 15
_unpad()
S
63 4 10
_pad()
S
60 3 13
disableContinuousBuffer()
S
64 3 11
setPreferredEngine()
S
64 3 11
safe_intval_inline()
S
68 3 7
_setup()
S
71 2 7
safe_intval()
S
69 2 6
_clearBuffers()
S
66 2 7
setKey()
S
65 2 9
enableContinuousBuffer()
S
69 2 7
setIV()
S
69 2 7
_setupKey()
S
100 1 0
setKeyLength()
S
74 1 5
do_nothing()
S
100 1 2
enablePadding()
S
81 1 3
disablePadding()
S
81 1 3
_getLambdaFunctions()
S
77 1 4
getKeyLength()
S
81 1 3
_setupInlineCrypt()
S
81 1 3
_decryptBlock()
S
100 1 0
_string_pop()
S
72 1 5
_string_shift()
S
72 1 5
getEngine()
S
83 1 3
_encryptBlock()
S
100 1 0
getBlockLength()
S
81 1 3
continuousBufferEnabled()
S
83 1 3